
<div id="edit_area">
	<div id="gadget_edit_title"><%= @gadget.title%></div>
	<div style="height:300px; overflow:auto;">
		<textarea dojoType="dijit.form.Textarea" style="height:200px;"><%= @gadget_spec_content %>
		</textarea>
	</div>
	
	<button dojoType="dijit.form.Button" onclick="save_edit()">Save</button>
	<button dojoType="dijit.form.Button" onclick="cancel_edit()">Cancel</button>
	
	<input type="hidden" name="current_gadget" id="current_gadget" value="<%= @gadget.id %>"/>
</div>
